package com.yuanfeng.business.controller;

import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @ClassName ShopTemplateController
 * @Description
 * @Author hyq
 * @Date 2023/8/3 14:16
 * @Version 1.0
 **/
@RestController
@RequestMapping("/shop/template")
public class ShopTemplateController extends BaseController{

    /**
     * 店铺模板查询
     *
     * @param param
     * @return
     */
    @PostMapping("/query")
    public ResponseResult query(@RequestBody Map<String,Object> param) {
        ResponseResult result=shopTemplateService.query(param);
        return result;
    }
}
